/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.jrcrm.service.business;

import net.dgg.dggcloud.service.common.base.service.BaseService;
import net.dgg.dggcloud.service.jrcrm.dao.business.BusinessNumberDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


/**
 * @ClassName 〈BusinessNumberService>
 * @Description
 * @Author 罗金
 * @Date 2018/5/3 11:42
 */
@Service
public class BusinessNumberService extends BaseService {
	@Resource
	private BusinessNumberDao businessNumberDao;

	/**
	 * 号码加密记录条数</br>
	 *
	 * @param map </br>
	 * @return 记录 </br>
	 */
	public Integer countBusinessNumberByMap(Map map) {
		return businessNumberDao.countBusinessNumberByMap(map);
	}

	/**
	 * 号码加密List<Map></br>
	 *
	 * @param map</br>
	 * @return 集合</br>
	 */
	public List<Map> listBusinessNumberByMap(Map map) {
		return businessNumberDao.listBusinessNumberByMap(map);
	}
}
